package com.learn.design.singleresponsibility.now.v2;

public class SingleResponsibility3 {
    public static void main(String[] args) {
        Vehicle vehicle = new Vehicle();
        vehicle.runRoad("汽车");
        vehicle.runAir("候鸟");
        vehicle.runWater("轮船");
    }
}
